
daemon1:     file format elf64-littleaarch64


Disassembly of section .init:

00000000004009a0 <_init>:
  4009a0:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  4009a4:	910003fd 	mov	x29, sp
  4009a8:	9400007c 	bl	400b98 <call_weak_fn>
  4009ac:	a8c17bfd 	ldp	x29, x30, [sp], #16
  4009b0:	d65f03c0 	ret

Disassembly of section .plt:

00000000004009c0 <.plt>:
  4009c0:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  4009c4:	b0000090 	adrp	x16, 411000 <__FRAME_END__+0xfc04>
  4009c8:	f947fe11 	ldr	x17, [x16, #4088]
  4009cc:	913fe210 	add	x16, x16, #0xff8
  4009d0:	d61f0220 	br	x17
  4009d4:	d503201f 	nop
  4009d8:	d503201f 	nop
  4009dc:	d503201f 	nop

00000000004009e0 <_exit@plt>:
  4009e0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  4009e4:	f9400211 	ldr	x17, [x16]
  4009e8:	91000210 	add	x16, x16, #0x0
  4009ec:	d61f0220 	br	x17

00000000004009f0 <strlen@plt>:
  4009f0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  4009f4:	f9400611 	ldr	x17, [x16, #8]
  4009f8:	91002210 	add	x16, x16, #0x8
  4009fc:	d61f0220 	br	x17

0000000000400a00 <syslog@plt>:
  400a00:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a04:	f9400a11 	ldr	x17, [x16, #16]
  400a08:	91004210 	add	x16, x16, #0x10
  400a0c:	d61f0220 	br	x17

0000000000400a10 <setbuf@plt>:
  400a10:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a14:	f9400e11 	ldr	x17, [x16, #24]
  400a18:	91006210 	add	x16, x16, #0x18
  400a1c:	d61f0220 	br	x17

0000000000400a20 <fork@plt>:
  400a20:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a24:	f9401211 	ldr	x17, [x16, #32]
  400a28:	91008210 	add	x16, x16, #0x20
  400a2c:	d61f0220 	br	x17

0000000000400a30 <snprintf@plt>:
  400a30:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a34:	f9401611 	ldr	x17, [x16, #40]
  400a38:	9100a210 	add	x16, x16, #0x28
  400a3c:	d61f0220 	br	x17

0000000000400a40 <getpid@plt>:
  400a40:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a44:	f9401a11 	ldr	x17, [x16, #48]
  400a48:	9100c210 	add	x16, x16, #0x30
  400a4c:	d61f0220 	br	x17

0000000000400a50 <open@plt>:
  400a50:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a54:	f9401e11 	ldr	x17, [x16, #56]
  400a58:	9100e210 	add	x16, x16, #0x38
  400a5c:	d61f0220 	br	x17

0000000000400a60 <__libc_start_main@plt>:
  400a60:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a64:	f9402211 	ldr	x17, [x16, #64]
  400a68:	91010210 	add	x16, x16, #0x40
  400a6c:	d61f0220 	br	x17

0000000000400a70 <sleep@plt>:
  400a70:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a74:	f9402611 	ldr	x17, [x16, #72]
  400a78:	91012210 	add	x16, x16, #0x48
  400a7c:	d61f0220 	br	x17

0000000000400a80 <close@plt>:
  400a80:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a84:	f9402a11 	ldr	x17, [x16, #80]
  400a88:	91014210 	add	x16, x16, #0x50
  400a8c:	d61f0220 	br	x17

0000000000400a90 <__gmon_start__@plt>:
  400a90:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400a94:	f9402e11 	ldr	x17, [x16, #88]
  400a98:	91016210 	add	x16, x16, #0x58
  400a9c:	d61f0220 	br	x17

0000000000400aa0 <write@plt>:
  400aa0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400aa4:	f9403211 	ldr	x17, [x16, #96]
  400aa8:	91018210 	add	x16, x16, #0x60
  400aac:	d61f0220 	br	x17

0000000000400ab0 <abort@plt>:
  400ab0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400ab4:	f9403611 	ldr	x17, [x16, #104]
  400ab8:	9101a210 	add	x16, x16, #0x68
  400abc:	d61f0220 	br	x17

0000000000400ac0 <openlog@plt>:
  400ac0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400ac4:	f9403a11 	ldr	x17, [x16, #112]
  400ac8:	9101c210 	add	x16, x16, #0x70
  400acc:	d61f0220 	br	x17

0000000000400ad0 <chdir@plt>:
  400ad0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400ad4:	f9403e11 	ldr	x17, [x16, #120]
  400ad8:	9101e210 	add	x16, x16, #0x78
  400adc:	d61f0220 	br	x17

0000000000400ae0 <fcntl@plt>:
  400ae0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400ae4:	f9404211 	ldr	x17, [x16, #128]
  400ae8:	91020210 	add	x16, x16, #0x80
  400aec:	d61f0220 	br	x17

0000000000400af0 <sysconf@plt>:
  400af0:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400af4:	f9404611 	ldr	x17, [x16, #136]
  400af8:	91022210 	add	x16, x16, #0x88
  400afc:	d61f0220 	br	x17

0000000000400b00 <setsid@plt>:
  400b00:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400b04:	f9404a11 	ldr	x17, [x16, #144]
  400b08:	91024210 	add	x16, x16, #0x90
  400b0c:	d61f0220 	br	x17

0000000000400b10 <ftruncate@plt>:
  400b10:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400b14:	f9404e11 	ldr	x17, [x16, #152]
  400b18:	91026210 	add	x16, x16, #0x98
  400b1c:	d61f0220 	br	x17

0000000000400b20 <dup2@plt>:
  400b20:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400b24:	f9405211 	ldr	x17, [x16, #160]
  400b28:	91028210 	add	x16, x16, #0xa0
  400b2c:	d61f0220 	br	x17

0000000000400b30 <umask@plt>:
  400b30:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400b34:	f9405611 	ldr	x17, [x16, #168]
  400b38:	9102a210 	add	x16, x16, #0xa8
  400b3c:	d61f0220 	br	x17

0000000000400b40 <__errno_location@plt>:
  400b40:	d0000090 	adrp	x16, 412000 <_exit@GLIBC_2.17>
  400b44:	f9405a11 	ldr	x17, [x16, #176]
  400b48:	9102c210 	add	x16, x16, #0xb0
  400b4c:	d61f0220 	br	x17

Disassembly of section .text:

0000000000400b50 <_start>:
  400b50:	d280001d 	mov	x29, #0x0                   	// #0
  400b54:	d280001e 	mov	x30, #0x0                   	// #0
  400b58:	aa0003e5 	mov	x5, x0
  400b5c:	f94003e1 	ldr	x1, [sp]
  400b60:	910023e2 	add	x2, sp, #0x8
  400b64:	910003e6 	mov	x6, sp
  400b68:	580000c0 	ldr	x0, 400b80 <_start+0x30>
  400b6c:	580000e3 	ldr	x3, 400b88 <_start+0x38>
  400b70:	58000104 	ldr	x4, 400b90 <_start+0x40>
  400b74:	97ffffbb 	bl	400a60 <__libc_start_main@plt>
  400b78:	97ffffce 	bl	400ab0 <abort@plt>
  400b7c:	00000000 	.inst	0x00000000 ; undefined
  400b80:	00400c4c 	.word	0x00400c4c
  400b84:	00000000 	.word	0x00000000
  400b88:	00401108 	.word	0x00401108
  400b8c:	00000000 	.word	0x00000000
  400b90:	00401188 	.word	0x00401188
  400b94:	00000000 	.word	0x00000000

0000000000400b98 <call_weak_fn>:
  400b98:	b0000080 	adrp	x0, 411000 <__FRAME_END__+0xfc04>
  400b9c:	f947f000 	ldr	x0, [x0, #4064]
  400ba0:	b4000040 	cbz	x0, 400ba8 <call_weak_fn+0x10>
  400ba4:	17ffffbb 	b	400a90 <__gmon_start__@plt>
  400ba8:	d65f03c0 	ret
  400bac:	00000000 	.inst	0x00000000 ; undefined

0000000000400bb0 <deregister_tm_clones>:
  400bb0:	d0000080 	adrp	x0, 412000 <_exit@GLIBC_2.17>
  400bb4:	91032000 	add	x0, x0, #0xc8
  400bb8:	d0000081 	adrp	x1, 412000 <_exit@GLIBC_2.17>
  400bbc:	91032021 	add	x1, x1, #0xc8
  400bc0:	eb00003f 	cmp	x1, x0
  400bc4:	540000a0 	b.eq	400bd8 <deregister_tm_clones+0x28>  // b.none
  400bc8:	b0000001 	adrp	x1, 401000 <addlock+0xc0>
  400bcc:	f940d421 	ldr	x1, [x1, #424]
  400bd0:	b4000041 	cbz	x1, 400bd8 <deregister_tm_clones+0x28>
  400bd4:	d61f0020 	br	x1
  400bd8:	d65f03c0 	ret
  400bdc:	d503201f 	nop

0000000000400be0 <register_tm_clones>:
  400be0:	d0000080 	adrp	x0, 412000 <_exit@GLIBC_2.17>
  400be4:	91032000 	add	x0, x0, #0xc8
  400be8:	d0000081 	adrp	x1, 412000 <_exit@GLIBC_2.17>
  400bec:	91032021 	add	x1, x1, #0xc8
  400bf0:	cb000021 	sub	x1, x1, x0
  400bf4:	9343fc21 	asr	x1, x1, #3
  400bf8:	8b41fc21 	add	x1, x1, x1, lsr #63
  400bfc:	9341fc21 	asr	x1, x1, #1
  400c00:	b40000a1 	cbz	x1, 400c14 <register_tm_clones+0x34>
  400c04:	b0000002 	adrp	x2, 401000 <addlock+0xc0>
  400c08:	f940d842 	ldr	x2, [x2, #432]
  400c0c:	b4000042 	cbz	x2, 400c14 <register_tm_clones+0x34>
  400c10:	d61f0040 	br	x2
  400c14:	d65f03c0 	ret

0000000000400c18 <__do_global_dtors_aux>:
  400c18:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  400c1c:	910003fd 	mov	x29, sp
  400c20:	f9000bf3 	str	x19, [sp, #16]
  400c24:	d0000093 	adrp	x19, 412000 <_exit@GLIBC_2.17>
  400c28:	39434260 	ldrb	w0, [x19, #208]
  400c2c:	35000080 	cbnz	w0, 400c3c <__do_global_dtors_aux+0x24>
  400c30:	97ffffe0 	bl	400bb0 <deregister_tm_clones>
  400c34:	52800020 	mov	w0, #0x1                   	// #1
  400c38:	39034260 	strb	w0, [x19, #208]
  400c3c:	f9400bf3 	ldr	x19, [sp, #16]
  400c40:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400c44:	d65f03c0 	ret

0000000000400c48 <frame_dummy>:
  400c48:	17ffffe6 	b	400be0 <register_tm_clones>

0000000000400c4c <main>:
  400c4c:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  400c50:	910003fd 	mov	x29, sp
  400c54:	b9001fa0 	str	w0, [x29, #28]
  400c58:	f9000ba1 	str	x1, [x29, #16]
  400c5c:	d0000080 	adrp	x0, 412000 <_exit@GLIBC_2.17>
  400c60:	91032000 	add	x0, x0, #0xc8
  400c64:	f9400000 	ldr	x0, [x0]
  400c68:	d2800001 	mov	x1, #0x0                   	// #0
  400c6c:	97ffff69 	bl	400a10 <setbuf@plt>
  400c70:	52800102 	mov	w2, #0x8                   	// #8
  400c74:	52800461 	mov	w1, #0x23                  	// #35
  400c78:	d2800000 	mov	x0, #0x0                   	// #0
  400c7c:	97ffff91 	bl	400ac0 <openlog@plt>
  400c80:	94000014 	bl	400cd0 <daemonize>
  400c84:	3100041f 	cmn	w0, #0x1
  400c88:	54000101 	b.ne	400ca8 <main+0x5c>  // b.any
  400c8c:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400c90:	9106e000 	add	x0, x0, #0x1b8
  400c94:	aa0003e1 	mov	x1, x0
  400c98:	52800060 	mov	w0, #0x3                   	// #3
  400c9c:	97ffff59 	bl	400a00 <syslog@plt>
  400ca0:	12800000 	mov	w0, #0xffffffff            	// #-1
  400ca4:	14000009 	b	400cc8 <main+0x7c>
  400ca8:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400cac:	91076000 	add	x0, x0, #0x1d8
  400cb0:	aa0003e1 	mov	x1, x0
  400cb4:	528000c0 	mov	w0, #0x6                   	// #6
  400cb8:	97ffff52 	bl	400a00 <syslog@plt>
  400cbc:	52800020 	mov	w0, #0x1                   	// #1
  400cc0:	97ffff6c 	bl	400a70 <sleep@plt>
  400cc4:	17fffffe 	b	400cbc <main+0x70>
  400cc8:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400ccc:	d65f03c0 	ret

0000000000400cd0 <daemonize>:
  400cd0:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  400cd4:	910003fd 	mov	x29, sp
  400cd8:	97ffff52 	bl	400a20 <fork@plt>
  400cdc:	3100041f 	cmn	w0, #0x1
  400ce0:	54000080 	b.eq	400cf0 <daemonize+0x20>  // b.none
  400ce4:	7100001f 	cmp	w0, #0x0
  400ce8:	54000120 	b.eq	400d0c <daemonize+0x3c>  // b.none
  400cec:	1400000c 	b	400d1c <daemonize+0x4c>
  400cf0:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400cf4:	91080000 	add	x0, x0, #0x200
  400cf8:	aa0003e1 	mov	x1, x0
  400cfc:	52800060 	mov	w0, #0x3                   	// #3
  400d00:	97ffff40 	bl	400a00 <syslog@plt>
  400d04:	12800000 	mov	w0, #0xffffffff            	// #-1
  400d08:	1400008c 	b	400f38 <daemonize+0x268>
  400d0c:	97ffff7d 	bl	400b00 <setsid@plt>
  400d10:	3100041f 	cmn	w0, #0x1
  400d14:	54000080 	b.eq	400d24 <daemonize+0x54>  // b.none
  400d18:	1400000a 	b	400d40 <daemonize+0x70>
  400d1c:	52800000 	mov	w0, #0x0                   	// #0
  400d20:	97ffff30 	bl	4009e0 <_exit@plt>
  400d24:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400d28:	91088000 	add	x0, x0, #0x220
  400d2c:	aa0003e1 	mov	x1, x0
  400d30:	52800060 	mov	w0, #0x3                   	// #3
  400d34:	97ffff33 	bl	400a00 <syslog@plt>
  400d38:	12800000 	mov	w0, #0xffffffff            	// #-1
  400d3c:	1400007f 	b	400f38 <daemonize+0x268>
  400d40:	97ffff38 	bl	400a20 <fork@plt>
  400d44:	3100041f 	cmn	w0, #0x1
  400d48:	54000080 	b.eq	400d58 <daemonize+0x88>  // b.none
  400d4c:	7100001f 	cmp	w0, #0x0
  400d50:	54000120 	b.eq	400d74 <daemonize+0xa4>  // b.none
  400d54:	1400000e 	b	400d8c <daemonize+0xbc>
  400d58:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400d5c:	9108e000 	add	x0, x0, #0x238
  400d60:	aa0003e1 	mov	x1, x0
  400d64:	52800060 	mov	w0, #0x3                   	// #3
  400d68:	97ffff26 	bl	400a00 <syslog@plt>
  400d6c:	12800000 	mov	w0, #0xffffffff            	// #-1
  400d70:	14000072 	b	400f38 <daemonize+0x268>
  400d74:	94000073 	bl	400f40 <addlock>
  400d78:	b90017a0 	str	w0, [x29, #20]
  400d7c:	b94017a0 	ldr	w0, [x29, #20]
  400d80:	3100041f 	cmn	w0, #0x1
  400d84:	54000080 	b.eq	400d94 <daemonize+0xc4>  // b.none
  400d88:	1400000d 	b	400dbc <daemonize+0xec>
  400d8c:	52800000 	mov	w0, #0x0                   	// #0
  400d90:	97ffff14 	bl	4009e0 <_exit@plt>
  400d94:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400d98:	91096001 	add	x1, x0, #0x258
  400d9c:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400da0:	9109c000 	add	x0, x0, #0x270
  400da4:	aa0103e2 	mov	x2, x1
  400da8:	aa0003e1 	mov	x1, x0
  400dac:	52800060 	mov	w0, #0x3                   	// #3
  400db0:	97ffff14 	bl	400a00 <syslog@plt>
  400db4:	12800000 	mov	w0, #0xffffffff            	// #-1
  400db8:	14000060 	b	400f38 <daemonize+0x268>
  400dbc:	52800000 	mov	w0, #0x0                   	// #0
  400dc0:	97ffff5c 	bl	400b30 <umask@plt>
  400dc4:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400dc8:	910a2000 	add	x0, x0, #0x288
  400dcc:	97ffff41 	bl	400ad0 <chdir@plt>
  400dd0:	3100041f 	cmn	w0, #0x1
  400dd4:	54000101 	b.ne	400df4 <daemonize+0x124>  // b.any
  400dd8:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400ddc:	910a6000 	add	x0, x0, #0x298
  400de0:	aa0003e1 	mov	x1, x0
  400de4:	52800060 	mov	w0, #0x3                   	// #3
  400de8:	97ffff06 	bl	400a00 <syslog@plt>
  400dec:	12800000 	mov	w0, #0xffffffff            	// #-1
  400df0:	14000052 	b	400f38 <daemonize+0x268>
  400df4:	52800080 	mov	w0, #0x4                   	// #4
  400df8:	97ffff3e 	bl	400af0 <sysconf@plt>
  400dfc:	b9001ba0 	str	w0, [x29, #24]
  400e00:	b9401ba0 	ldr	w0, [x29, #24]
  400e04:	3100041f 	cmn	w0, #0x1
  400e08:	54000061 	b.ne	400e14 <daemonize+0x144>  // b.any
  400e0c:	52820000 	mov	w0, #0x1000                	// #4096
  400e10:	b9001ba0 	str	w0, [x29, #24]
  400e14:	b9001fbf 	str	wzr, [x29, #28]
  400e18:	1400001c 	b	400e88 <daemonize+0x1b8>
  400e1c:	b9401fa0 	ldr	w0, [x29, #28]
  400e20:	7100081f 	cmp	w0, #0x2
  400e24:	540002a0 	b.eq	400e78 <daemonize+0x1a8>  // b.none
  400e28:	b9401fa1 	ldr	w1, [x29, #28]
  400e2c:	b94017a0 	ldr	w0, [x29, #20]
  400e30:	6b00003f 	cmp	w1, w0
  400e34:	54000220 	b.eq	400e78 <daemonize+0x1a8>  // b.none
  400e38:	b9401fa0 	ldr	w0, [x29, #28]
  400e3c:	97ffff11 	bl	400a80 <close@plt>
  400e40:	3100041f 	cmn	w0, #0x1
  400e44:	540001c1 	b.ne	400e7c <daemonize+0x1ac>  // b.any
  400e48:	97ffff3e 	bl	400b40 <__errno_location@plt>
  400e4c:	b9400000 	ldr	w0, [x0]
  400e50:	7100241f 	cmp	w0, #0x9
  400e54:	54000140 	b.eq	400e7c <daemonize+0x1ac>  // b.none
  400e58:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400e5c:	910ac000 	add	x0, x0, #0x2b0
  400e60:	b9401fa2 	ldr	w2, [x29, #28]
  400e64:	aa0003e1 	mov	x1, x0
  400e68:	52800060 	mov	w0, #0x3                   	// #3
  400e6c:	97fffee5 	bl	400a00 <syslog@plt>
  400e70:	12800000 	mov	w0, #0xffffffff            	// #-1
  400e74:	14000031 	b	400f38 <daemonize+0x268>
  400e78:	d503201f 	nop
  400e7c:	b9401fa0 	ldr	w0, [x29, #28]
  400e80:	11000400 	add	w0, w0, #0x1
  400e84:	b9001fa0 	str	w0, [x29, #28]
  400e88:	b9401fa1 	ldr	w1, [x29, #28]
  400e8c:	b9401ba0 	ldr	w0, [x29, #24]
  400e90:	6b00003f 	cmp	w1, w0
  400e94:	54fffc4b 	b.lt	400e1c <daemonize+0x14c>  // b.tstop
  400e98:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400e9c:	910b2000 	add	x0, x0, #0x2c8
  400ea0:	52800041 	mov	w1, #0x2                   	// #2
  400ea4:	97fffeeb 	bl	400a50 <open@plt>
  400ea8:	b9001fa0 	str	w0, [x29, #28]
  400eac:	b9401fa0 	ldr	w0, [x29, #28]
  400eb0:	3100041f 	cmn	w0, #0x1
  400eb4:	54000101 	b.ne	400ed4 <daemonize+0x204>  // b.any
  400eb8:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400ebc:	910b6000 	add	x0, x0, #0x2d8
  400ec0:	aa0003e1 	mov	x1, x0
  400ec4:	52800060 	mov	w0, #0x3                   	// #3
  400ec8:	97fffece 	bl	400a00 <syslog@plt>
  400ecc:	12800000 	mov	w0, #0xffffffff            	// #-1
  400ed0:	1400001a 	b	400f38 <daemonize+0x268>
  400ed4:	52800001 	mov	w1, #0x0                   	// #0
  400ed8:	b9401fa0 	ldr	w0, [x29, #28]
  400edc:	97ffff11 	bl	400b20 <dup2@plt>
  400ee0:	3100041f 	cmn	w0, #0x1
  400ee4:	54000101 	b.ne	400f04 <daemonize+0x234>  // b.any
  400ee8:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400eec:	910bc000 	add	x0, x0, #0x2f0
  400ef0:	aa0003e1 	mov	x1, x0
  400ef4:	52800060 	mov	w0, #0x3                   	// #3
  400ef8:	97fffec2 	bl	400a00 <syslog@plt>
  400efc:	12800000 	mov	w0, #0xffffffff            	// #-1
  400f00:	1400000e 	b	400f38 <daemonize+0x268>
  400f04:	52800021 	mov	w1, #0x1                   	// #1
  400f08:	b9401fa0 	ldr	w0, [x29, #28]
  400f0c:	97ffff05 	bl	400b20 <dup2@plt>
  400f10:	3100041f 	cmn	w0, #0x1
  400f14:	54000101 	b.ne	400f34 <daemonize+0x264>  // b.any
  400f18:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400f1c:	910c4000 	add	x0, x0, #0x310
  400f20:	aa0003e1 	mov	x1, x0
  400f24:	52800060 	mov	w0, #0x3                   	// #3
  400f28:	97fffeb6 	bl	400a00 <syslog@plt>
  400f2c:	12800000 	mov	w0, #0xffffffff            	// #-1
  400f30:	14000002 	b	400f38 <daemonize+0x268>
  400f34:	52800000 	mov	w0, #0x0                   	// #0
  400f38:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400f3c:	d65f03c0 	ret

0000000000400f40 <addlock>:
  400f40:	a9ba7bfd 	stp	x29, x30, [sp, #-96]!
  400f44:	910003fd 	mov	x29, sp
  400f48:	f9000bf3 	str	x19, [sp, #16]
  400f4c:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400f50:	91096000 	add	x0, x0, #0x258
  400f54:	52803002 	mov	w2, #0x180                 	// #384
  400f58:	52800841 	mov	w1, #0x42                  	// #66
  400f5c:	97fffebd 	bl	400a50 <open@plt>
  400f60:	b9005fa0 	str	w0, [x29, #92]
  400f64:	b9405fa0 	ldr	w0, [x29, #92]
  400f68:	3100041f 	cmn	w0, #0x1
  400f6c:	54000101 	b.ne	400f8c <addlock+0x4c>  // b.any
  400f70:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400f74:	910cc000 	add	x0, x0, #0x330
  400f78:	aa0003e1 	mov	x1, x0
  400f7c:	52800060 	mov	w0, #0x3                   	// #3
  400f80:	97fffea0 	bl	400a00 <syslog@plt>
  400f84:	12800000 	mov	w0, #0xffffffff            	// #-1
  400f88:	1400005c 	b	4010f8 <addlock+0x1b8>
  400f8c:	52800021 	mov	w1, #0x1                   	// #1
  400f90:	b9405fa0 	ldr	w0, [x29, #92]
  400f94:	97fffed3 	bl	400ae0 <fcntl@plt>
  400f98:	b9005ba0 	str	w0, [x29, #88]
  400f9c:	b9405ba0 	ldr	w0, [x29, #88]
  400fa0:	3100041f 	cmn	w0, #0x1
  400fa4:	54000101 	b.ne	400fc4 <addlock+0x84>  // b.any
  400fa8:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400fac:	910d4000 	add	x0, x0, #0x350
  400fb0:	aa0003e1 	mov	x1, x0
  400fb4:	52800060 	mov	w0, #0x3                   	// #3
  400fb8:	97fffe92 	bl	400a00 <syslog@plt>
  400fbc:	12800000 	mov	w0, #0xffffffff            	// #-1
  400fc0:	1400004e 	b	4010f8 <addlock+0x1b8>
  400fc4:	b9405ba0 	ldr	w0, [x29, #88]
  400fc8:	32000000 	orr	w0, w0, #0x1
  400fcc:	b9005ba0 	str	w0, [x29, #88]
  400fd0:	b9405ba2 	ldr	w2, [x29, #88]
  400fd4:	52800041 	mov	w1, #0x2                   	// #2
  400fd8:	b9405fa0 	ldr	w0, [x29, #92]
  400fdc:	97fffec1 	bl	400ae0 <fcntl@plt>
  400fe0:	3100041f 	cmn	w0, #0x1
  400fe4:	54000101 	b.ne	401004 <addlock+0xc4>  // b.any
  400fe8:	b0000000 	adrp	x0, 401000 <addlock+0xc0>
  400fec:	910dc000 	add	x0, x0, #0x370
  400ff0:	aa0003e1 	mov	x1, x0
  400ff4:	52800060 	mov	w0, #0x3                   	// #3
  400ff8:	97fffe82 	bl	400a00 <syslog@plt>
  400ffc:	12800000 	mov	w0, #0xffffffff            	// #-1
  401000:	1400003e 	b	4010f8 <addlock+0x1b8>
  401004:	52800020 	mov	w0, #0x1                   	// #1
  401008:	790073a0 	strh	w0, [x29, #56]
  40100c:	790077bf 	strh	wzr, [x29, #58]
  401010:	f90023bf 	str	xzr, [x29, #64]
  401014:	f90027bf 	str	xzr, [x29, #72]
  401018:	9100e3a0 	add	x0, x29, #0x38
  40101c:	aa0003e2 	mov	x2, x0
  401020:	528000c1 	mov	w1, #0x6                   	// #6
  401024:	b9405fa0 	ldr	w0, [x29, #92]
  401028:	97fffeae 	bl	400ae0 <fcntl@plt>
  40102c:	3100041f 	cmn	w0, #0x1
  401030:	54000101 	b.ne	401050 <addlock+0x110>  // b.any
  401034:	90000000 	adrp	x0, 401000 <addlock+0xc0>
  401038:	910e4000 	add	x0, x0, #0x390
  40103c:	aa0003e1 	mov	x1, x0
  401040:	52800060 	mov	w0, #0x3                   	// #3
  401044:	97fffe6f 	bl	400a00 <syslog@plt>
  401048:	12800000 	mov	w0, #0xffffffff            	// #-1
  40104c:	1400002b 	b	4010f8 <addlock+0x1b8>
  401050:	d2800001 	mov	x1, #0x0                   	// #0
  401054:	b9405fa0 	ldr	w0, [x29, #92]
  401058:	97fffeae 	bl	400b10 <ftruncate@plt>
  40105c:	3100041f 	cmn	w0, #0x1
  401060:	54000101 	b.ne	401080 <addlock+0x140>  // b.any
  401064:	90000000 	adrp	x0, 401000 <addlock+0xc0>
  401068:	910ec000 	add	x0, x0, #0x3b0
  40106c:	aa0003e1 	mov	x1, x0
  401070:	52800060 	mov	w0, #0x3                   	// #3
  401074:	97fffe63 	bl	400a00 <syslog@plt>
  401078:	12800000 	mov	w0, #0xffffffff            	// #-1
  40107c:	1400001f 	b	4010f8 <addlock+0x1b8>
  401080:	97fffe70 	bl	400a40 <getpid@plt>
  401084:	93407c02 	sxtw	x2, w0
  401088:	90000000 	adrp	x0, 401000 <addlock+0xc0>
  40108c:	910f4001 	add	x1, x0, #0x3d0
  401090:	9100a3a0 	add	x0, x29, #0x28
  401094:	aa0203e3 	mov	x3, x2
  401098:	aa0103e2 	mov	x2, x1
  40109c:	d2800201 	mov	x1, #0x10                  	// #16
  4010a0:	97fffe64 	bl	400a30 <snprintf@plt>
  4010a4:	9100a3a0 	add	x0, x29, #0x28
  4010a8:	97fffe52 	bl	4009f0 <strlen@plt>
  4010ac:	aa0003e1 	mov	x1, x0
  4010b0:	9100a3a0 	add	x0, x29, #0x28
  4010b4:	aa0103e2 	mov	x2, x1
  4010b8:	aa0003e1 	mov	x1, x0
  4010bc:	b9405fa0 	ldr	w0, [x29, #92]
  4010c0:	97fffe78 	bl	400aa0 <write@plt>
  4010c4:	aa0003f3 	mov	x19, x0
  4010c8:	9100a3a0 	add	x0, x29, #0x28
  4010cc:	97fffe49 	bl	4009f0 <strlen@plt>
  4010d0:	eb00027f 	cmp	x19, x0
  4010d4:	54000100 	b.eq	4010f4 <addlock+0x1b4>  // b.none
  4010d8:	90000000 	adrp	x0, 401000 <addlock+0xc0>
  4010dc:	910f6000 	add	x0, x0, #0x3d8
  4010e0:	aa0003e1 	mov	x1, x0
  4010e4:	52800060 	mov	w0, #0x3                   	// #3
  4010e8:	97fffe46 	bl	400a00 <syslog@plt>
  4010ec:	12800000 	mov	w0, #0xffffffff            	// #-1
  4010f0:	14000002 	b	4010f8 <addlock+0x1b8>
  4010f4:	b9405fa0 	ldr	w0, [x29, #92]
  4010f8:	f9400bf3 	ldr	x19, [sp, #16]
  4010fc:	a8c67bfd 	ldp	x29, x30, [sp], #96
  401100:	d65f03c0 	ret
  401104:	00000000 	.inst	0x00000000 ; undefined

0000000000401108 <__libc_csu_init>:
  401108:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  40110c:	910003fd 	mov	x29, sp
  401110:	a901d7f4 	stp	x20, x21, [sp, #24]
  401114:	90000094 	adrp	x20, 411000 <__FRAME_END__+0xfc04>
  401118:	90000095 	adrp	x21, 411000 <__FRAME_END__+0xfc04>
  40111c:	91374294 	add	x20, x20, #0xdd0
  401120:	913722b5 	add	x21, x21, #0xdc8
  401124:	a902dff6 	stp	x22, x23, [sp, #40]
  401128:	cb150294 	sub	x20, x20, x21
  40112c:	f9001ff8 	str	x24, [sp, #56]
  401130:	2a0003f6 	mov	w22, w0
  401134:	aa0103f7 	mov	x23, x1
  401138:	9343fe94 	asr	x20, x20, #3
  40113c:	aa0203f8 	mov	x24, x2
  401140:	97fffe18 	bl	4009a0 <_init>
  401144:	b4000194 	cbz	x20, 401174 <__libc_csu_init+0x6c>
  401148:	f9000bb3 	str	x19, [x29, #16]
  40114c:	d2800013 	mov	x19, #0x0                   	// #0
  401150:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  401154:	aa1803e2 	mov	x2, x24
  401158:	aa1703e1 	mov	x1, x23
  40115c:	2a1603e0 	mov	w0, w22
  401160:	91000673 	add	x19, x19, #0x1
  401164:	d63f0060 	blr	x3
  401168:	eb13029f 	cmp	x20, x19
  40116c:	54ffff21 	b.ne	401150 <__libc_csu_init+0x48>  // b.any
  401170:	f9400bb3 	ldr	x19, [x29, #16]
  401174:	a941d7f4 	ldp	x20, x21, [sp, #24]
  401178:	a942dff6 	ldp	x22, x23, [sp, #40]
  40117c:	f9401ff8 	ldr	x24, [sp, #56]
  401180:	a8c47bfd 	ldp	x29, x30, [sp], #64
  401184:	d65f03c0 	ret

0000000000401188 <__libc_csu_fini>:
  401188:	d65f03c0 	ret

Disassembly of section .fini:

000000000040118c <_fini>:
  40118c:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  401190:	910003fd 	mov	x29, sp
  401194:	a8c17bfd 	ldp	x29, x30, [sp], #16
  401198:	d65f03c0 	ret
